package jnpf.fico.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @description:
 * @author: zhengxiong.jiang
 * @createDate: 2024-10-30
 * @version: 1.0
 */
@Data
@TableName("zcgl_cw_bill_operate")
public class ZcglCwBillOperateEntity {

    public static final String TYPE_1="1";//减免
    public static final String TYPE_2="2";//退款

    @TableId(value="F_ID",type = IdType.AUTO)
    private String id;

    @TableField("F_PARENTID")
    private String parentid;

    /**
     * 账单id
     */
    @TableField("BILL_ID")
    private String billId;

    @TableField("TYPE")
    private String type;

    @TableField("SERIAL_NO")
    private String serialNo;

    @TableField("EVENT_NAME")
    private String eventName;

    @TableField("OPERATE_DATE")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date operateDate;

    @TableField("REASON")
    private String reason;

    @TableField("FILE_PATH")
    private String filePath;

    @TableField("CONTENT")
    private String content;

    @TableField("DESCRIPTION")
    private String description;

    @TableField("FLOW_STATE")
    private String flowState;

    @TableField("F_CREATORUSERID")
    private String creatoruserid;

    @TableField("F_CREATORTIME")
    private Date creatortime;

}
